package big.ketech.process.service;


import big.ketech.mapper.TStudentMapper;
import big.ketech.process.dataobject.TStudent;
import big.ketech.process.dataobject.TStudentExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @FileName: IStudentService
 * @Author Yep
 * @create 2020-11-30
 * @Description:
 */
@Repository
public class IStudentService {
    @Autowired
    TStudentMapper tStudentMapper;
    /**
     * 查询所有学生
     * @return
     */
   public   List<TStudent> queryAllStudent(){
       TStudentExample example =new TStudentExample();
       example.createCriteria();
       return tStudentMapper.selectByExample(example);
   };
}

